package pack1014;

public class Teacher {
    // 三个属性
    int id;
    String name;
    School school; // 数组的写法

    // 这个方法比较特殊
    public String toString() {
        return "id:" + id + ",name:" + name + ",school:" + school;
    }
}